package com.yuanchu.media.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.yuanchu.media.entity.YoshopUploadFileEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-01-26 14:37
 */
@Data
public class PageResult implements Serializable {

    // 总条数
    private Integer total;
    // 每页显示条数
    @JsonProperty("per_page")
    private Integer perPage;

    // 当前页
    @JsonProperty("current_page")
    private Integer currentPage;

    // 分页数
    @JsonProperty("last_page")
    private Integer lastPage;

    private List<YoshopUploadFileEntity> data;
}
